//
//  GoodsAttributesCell.m
//  RainbowFM
//
//  Created by Kratos on 14/12/17.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "GoodsAttributesCell.h"

#import "GoodsAttributeItem.h"

@implementation GoodsAttributesCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:NO animated:NO];

    // Configure the view for the selected state
}

-(void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated
{
    [super setHighlighted:NO animated:NO];
}

-(void)updateGoodsInfo:(GoodsAttributeItem *)model
{
    [_attributeView updateAttributes:model.propertyList];
}

+(CGFloat)getHeight:(NSArray *)attributes
{
   return [GoodsAttributeView getHeight:attributes];
}

@end
